package edu.yuhf.tts.domain;

import java.math.BigDecimal;
import java.time.LocalDate;

public class Order {
			private int id;
			private int user_id;
			private String trainId;
			private LocalDate buyDate;
			private int ticketNumber;
			private BigDecimal toTalFares;
			public Order(){}
			public Order(int id, int user_id, String trainId, LocalDate buyDate, int ticketNumber,
					BigDecimal toTalFares) {
				super();
				this.id = id;
				this.user_id = user_id;
				this.trainId = trainId;
				this.buyDate = buyDate;
				this.ticketNumber = ticketNumber;
				this.toTalFares = toTalFares;
			}
			public int getId() {
				return id;
			}
			public void setId(int id) {
				this.id = id;
			}
			public int getUser_id() {
				return user_id;
			}
			public void setUser_id(int user_id) {
				this.user_id = user_id;
			}
			public String getTrainId() {
				return trainId;
			}
			public void setTrainId(String trainId) {
				this.trainId = trainId;
			}
			public LocalDate getBuyDate() {
				return buyDate;
			}
			public void setBuyDate(LocalDate buyDate) {
				this.buyDate = buyDate;
			}
			public int getTicketNumber() {
				return ticketNumber;
			}
			public void setTicketNumber(int ticketNumber) {
				this.ticketNumber = ticketNumber;
			}
			public BigDecimal getToTalFares() {
				return toTalFares;
			}
			public void setToTalFares(BigDecimal toTalFares) {
				this.toTalFares = toTalFares;
			}
			
}
